﻿using System;

namespace Perseus.WCF.Contract.Data
{
    public class EmployeeData
    {
        public int EmployeeID { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string Title { get; set; }
        public DateTime BirthDate { get; set; }

        public override string ToString()
        {
            string format = "Employee ID: {0}\nFirst Name: {1}\n"
                          + "Last Name: {2}\nTitle: {3}\nBirth Date: {4}\n";

            return string.Format(format, EmployeeID, FirstName, LastName, Title, BirthDate);
        }
    }
}
